public class testWhile {
    public static void main(String[] args) {
        int b = 1;
        while (b <= 9) {
            int a = 1;
            while (a <= b) {
                System.out.print(a + " * " + b + " = " + a * b + "\t");
                a++;
            }
            b++;
            System.out.println();
        }
    }
}
/*
        int b = 1;
        int a = 1;
        while (b <= 9) {
            while (a <= b) {
                System.out.print(a + " * " + b + " = " + a * b + "\t");
                a++;
            }
        b++;
        System.out.println();
        }
 */